package top.heliming.youyou.item.api;

import java.util.List;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * description: //TODO
 *
 * @author: heliming
 * @date:2019/06/01 下午 5:14
 */
@RequestMapping("category")
public interface CategoryApi {

  @GetMapping("names")
  ResponseEntity<List<String>> queryNameByIds(@RequestParam("ids") List<Long> ids);
}
